/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const shopRouter = {
  path: '/shop',
  component: Layout,
  redirect: 'noRedirect',
  name: 'ShopDemo',
  meta: {
    title: '门店管理',
    icon: 'el-icon-s-shop'
  },
  children: [
    {
      path: 'shop-notice',
      component: () => import('@/views/shop/shop-notice/shop-notice'),
      name: 'ShopNotice',
      meta: { title: '公告管理' }
    },
    {
      path: 'shop-pickAddr',
      component: () => import('@/views/shop/shop-pickAddr/shop-pickAddr'),
      name: 'shop-pickAddr',
      meta: { title: '自提点管理' }
    },
    {
      path: 'shop-transport',
      component: () => import('@/views/shop/shop-transport/shop-transport'),
      name: 'shop-transport',
      meta: { title: '运费模板' }
    },
    {
      path: 'admin-indexImg',
      component: () => import('@/views/shop/admin-indexImg/admin-indexImg'),
      name: 'admin-indexImg',
      meta: { title: '轮播图管理' }
    },
    {
      path: 'shop-hotSearch',
      component: () => import('@/views/shop/shop-hotSearch/shop-hotSearch'),
      name: 'shop-hotSearch',
      meta: { title: '热搜管理' }
    },
  ]
}

export default shopRouter
